﻿@model Repid.Entity.Basic.BasicMenu

<form id="mmenu-form" class="form-edit" method="post">
    <div class="form-title panel-body">菜单信息</div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input id="mmenu-icon" name="Icon" data-options="prompt:'请选择图标'" value="@Model.Icon" />
            <span class="form-info">显示在树形菜单中的菜单图标（当前菜单模式暂不需要）。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input id="mmenu-pid" name="Pid" data-options="prompt:'请选择父级菜单'" value="@Model.Pid" />
            <span class="form-info"></span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input name="Name" class="easyui-textbox" data-options="required:true,prompt:'请填写菜单名称'" value="@Model.Name" />
            <span class="form-info"></span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <div class="easyui-radio">
                <div class="form-label">菜单类型</div>
                @Easyui.RadioItem("Type", "null", "无", Model.Type)
                @Easyui.RadioItem("Type", "tab", "选项", Model.Type)
                @Easyui.RadioItem("Type", "iframe", "网页", Model.Type)
                @Easyui.RadioItem("Type", "embed", "内嵌", Model.Type)
                @Easyui.RadioItem("Type", "dialog", "弹窗", Model.Type)
            </div>
            <span class="form-info">具体表示菜单点击后的呈现类型。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input name="Module" class="easyui-textbox" data-options="prompt:'请填写模块标记'" value="@Model.Module" />
            <span class="form-info">区分各模块之间的区域，便于前端资源管理。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input name="Tag" class="easyui-textbox" data-options="prompt:'请填写权限标记'" value="@Model.Tag" />
            <span class="form-info">主要用于脚本对象的匹配标记。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input name="Link" class="easyui-textbox" data-options="prompt:'请填写连接地址'" value="@Model.Link" />
            <span class="form-info">站内具体功能页面或站外地址的连接。</span>
        </div>
    </div>
    <input name="ID" type="hidden" value="@Model.ID" />
    <input name="Path" type="hidden" value="@Model.Path" />
    <input name="IsEnabled" type="hidden" value="@Model.IsEnabled.ToString()" />
    <input name="Sequence" type="hidden" value="@Model.Sequence" />
    <input name="InsertTime" type="hidden" value="@Model.InsertTime" />
    <input name="UpdateTime" type="hidden" value="@Model.UpdateTime" />
</form>